package com.example.mapper;

import com.example.domain.entity.AuthorityMapperMenu;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author TXX
* @description 针对表【authoritymappermenu】的数据库操作Mapper
* @createDate 2023-02-07 13:15:20
* @Entity .domain.com.example.domain.entity.AuthorityMapperMenu
*/
@Repository
public interface AuthorityMapperMenuMapper {

    int deleteByPrimaryKey(Long id);

    int insert(AuthorityMapperMenu record);

    int insertSelective(AuthorityMapperMenu record);

    AuthorityMapperMenu selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AuthorityMapperMenu record);

    int updateByPrimaryKey(AuthorityMapperMenu record);

    int deleteByAuthorityId(Integer authorityId);

    int insertByBatch(@Param("id") Integer id,@Param("list") List<Integer> perms);
}
